3.1047 \(\int x^2 (a+b x^2)^p \, dx\)

Optimal. Leaf size=40 \[ \frac {x^3 \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,p+\frac {5}{2};\frac {5}{2};-\frac {b x^2}{a}\right )}{3 a} \]

[Out]

1/3*x^3*(b*x^2+a)^(1+p)*hypergeom([1, 5/2+p],[5/2],-b*x^2/a)/a

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 49, normalized size of antiderivative = 1.22, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {365, 364} \[ \frac {1}{3} x^3 \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {3}{2},-p;\frac {5}{2};-\frac {b x^2}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2*(a + b*x^2)^p,x]

[Out]

(x^3*(a + b*x^2)^p*Hypergeometric2F1[3/2, -p, 5/2, -((b*x^2)/a)])/(3*(1 + (b*x^2)/a)^p)

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 365

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a + b*x^n)^FracPart[p])
/(1 + (b*x^n)/a)^FracPart[p], Int[(c*x)^m*(1 + (b*x^n)/a)^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin {align*} \int x^2 \left (a+b x^2\right )^p \, dx &=\left (\left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int x^2 \left (1+\frac {b x^2}{a}\right )^p \, dx\\ &=\frac {1}{3} x^3 \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \, _2F_1\left (\frac {3}{2},-p;\frac {5}{2};-\frac {b x^2}{a}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 49, normalized size = 1.22 \[ \frac {1}{3} x^3 \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {3}{2},-p;\frac {5}{2};-\frac {b x^2}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*(a + b*x^2)^p,x]

[Out]

(x^3*(a + b*x^2)^p*Hypergeometric2F1[3/2, -p, 5/2, -((b*x^2)/a)])/(3*(1 + (b*x^2)/a)^p)

________________________________________________________________________________________

fricas [F]  time = 0.69, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b x^{2} + a\right )}^{p} x^{2}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^p,x, algorithm="fricas")

[Out]

integral((b*x^2 + a)^p*x^2, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{2} + a\right )}^{p} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^p,x, algorithm="giac")

[Out]

integrate((b*x^2 + a)^p*x^2, x)

________________________________________________________________________________________

maple [F]  time = 0.29, size = 0, normalized size = 0.00 \[ \int x^{2} \left (b \,x^{2}+a \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(b*x^2+a)^p,x)

[Out]

int(x^2*(b*x^2+a)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{2} + a\right )}^{p} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(b*x^2+a)^p,x, algorithm="maxima")

[Out]

integrate((b*x^2 + a)^p*x^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x^2\,{\left (b\,x^2+a\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*x^2)^p,x)

[Out]

int(x^2*(a + b*x^2)^p, x)

________________________________________________________________________________________

sympy [C]  time = 3.81, size = 26, normalized size = 0.65 \[ \frac {a^{p} x^{3} {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{2}, - p \\ \frac {5}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(b*x**2+a)**p,x)

[Out]

a**p*x**3*hyper((3/2, -p), (5/2,), b*x**2*exp_polar(I*pi)/a)/3

________________________________________________________________________________________